package org.spring.springboot.app.platform.balancelog.dao;

import org.spring.springboot.app.adv.advinfo.domain.vo.AdvInfoCountVO;
import org.spring.springboot.app.adv.advinfo.domain.vo.AdvInfoVO;
import org.spring.springboot.app.agent.balancelog.domain.vo.SysOfficeBalanceLogSearchVO;
import org.spring.springboot.app.platform.balancelog.domain.po.PlatformBalanceLogPO;
import org.spring.springboot.app.platform.balancelog.domain.vo.*;
import org.spring.springboot.app.sys.dict.domain.vo.SysDictTypeVO;

import java.util.List;

public interface PlatformBalanceLogDao {
    int deleteByPrimaryKey(String id);

    int insert(PlatformBalanceLogPO record);

    int insertSelective(PlatformBalanceLogPO record);

    PlatformBalanceLogPO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(PlatformBalanceLogPO record);

    int updateByPrimaryKey(PlatformBalanceLogPO record);

    List<PlatformBalanceLogPO> findPage(PlatformBalanceLogSearchVO searchvo, int pageNum, int pageSize, String types);

    String yesterdaySum();  //昨天的

    String lastweekSum();  //上周的

    String lastmonthSum();  //上月的


    List<UserVO> findUser();  //用户增长曲线

    List<UserCountVO> findUserCount();  //用户增长曲线

    List<OfficeVO> findOffice();  //代理商增长曲线

    List<OfficeCountVO> findOfficeCount();  //代理商增长曲线

    List<BalanceVO> findBalance();  //平台收益增长曲线

    List<BalanceCountVO> findBalanceCount();  //平台收益增长曲线

    List<AdvVO> findAdv();  //广告投放量增长曲线

    List<AdvCountVO> findAdvCount();  //广告投放量增长曲线
}